d_opendpi_demo:=${module_libopendpi_demo_path}
TOP_opendpi:=$(TOP)/test/opendpi
OBJS_DIR:=$(LIB_DIR)

LIBRARY_opendpi_demo:=$(OBJS_DIR)/libopendpidemo.a
OBJS_opendpi_demo:=$(OBJS_DIR)/OpenDPI_demo.o

OPENDPI_DEMO_CFLAGS_LOCAL:=-I$(TOP)/test/opendpi/src/include -I/$(d_opendpi_demo)
module_libopendpi_demo:$(LIBRARY_opendpi_demo)

$(LIBRARY_opendpi_demo):$(OBJS_opendpi_demo)
	ar -cr $(LIBRARY_opendpi_demo) $(OBJS_opendpi_demo)

$(OBJS_DIR)/%.o:$(d_opendpi_demo)/%.c
	gcc -c -o $@ $< $(OPENDPI_DEMO_CFLAGS_LOCAL)

nubiao:
	@echo $(TOP_opendpi)
